<h1>Comments on <%= @entry.title %></h1>

<table>
  <tr>
    <th>author</th>
    <th>comment</th>
  </tr>
<% for c in @comments %>
  <tr>
    <td><%=h c.content_generator.username %></td>
    <td><%=h c.content %></td>
  </tr>
<% end %>
</table>

<br />
<%= link_to 'Add Comment', new_entry_comment_path(@entry) %><br />
<%= link_to 'Back to Entry', @entry %>
